/// id : "1754345627272314932"
/// isDel : 0
/// createBy : "13546555086"
/// updateBy : null
/// createTime : 1707103566
/// updateTime : 1707103566
/// sysUserId : "1699262505246109748"
/// name : "陈坤"
/// sex : 1
/// nation : "1"
/// birthday : "1995/5/28"
/// idAddress : "山西省霍州市退沙办什林村南区132号"
/// idcard : "141082199505280018"
/// idAuthority : "霍州市公安局"
/// idValidDate : "2014.04.17-2024.04.17"
/// idcardPicFront : "/group1/M00/DE/AB/wKg8Fl1tu96AC9KkAAVpqhin2Hc593.png"
/// idcardPicBack : "/group1/M00/DE/AB/wKg8F11tu96AHGdsAAVG3C-daVo502.png"
/// status : 1
/// liveDetectionStatus : -1
/// liveDetectionTime : null

class UserIdentity {
  UserIdentity({
      String? id, 
      num? isDel, 
      String? createBy, 
      dynamic updateBy, 
      num? createTime, 
      num? updateTime, 
      String? sysUserId, 
      String? name, 
      num? sex, 
      String? nation, 
      String? birthday, 
      String? idAddress, 
      String? idcard, 
      String? idAuthority, 
      String? idValidDate, 
      String? idcardPicFront, 
      String? idcardPicBack, 
      num? status, 
      num? liveDetectionStatus, 
      dynamic liveDetectionTime,}){
    _id = id;
    _isDel = isDel;
    _createBy = createBy;
    _updateBy = updateBy;
    _createTime = createTime;
    _updateTime = updateTime;
    _sysUserId = sysUserId;
    _name = name;
    _sex = sex;
    _nation = nation;
    _birthday = birthday;
    _idAddress = idAddress;
    _idcard = idcard;
    _idAuthority = idAuthority;
    _idValidDate = idValidDate;
    _idcardPicFront = idcardPicFront;
    _idcardPicBack = idcardPicBack;
    _status = status;
    _liveDetectionStatus = liveDetectionStatus;
    _liveDetectionTime = liveDetectionTime;
}

  UserIdentity.fromJson(dynamic json) {
    _id = json['id'];
    _isDel = json['isDel'];
    _createBy = json['createBy'];
    _updateBy = json['updateBy'];
    _createTime = json['createTime'];
    _updateTime = json['updateTime'];
    _sysUserId = json['sysUserId'];
    _name = json['name'];
    _sex = json['sex'];
    _nation = json['nation'];
    _birthday = json['birthday'];
    _idAddress = json['idAddress'];
    _idcard = json['idcard'];
    _idAuthority = json['idAuthority'];
    _idValidDate = json['idValidDate'];
    _idcardPicFront = json['idcardPicFront'];
    _idcardPicBack = json['idcardPicBack'];
    _status = json['status'];
    _liveDetectionStatus = json['liveDetectionStatus'];
    _liveDetectionTime = json['liveDetectionTime'];
  }
  String? _id;
  num? _isDel;
  String? _createBy;
  dynamic _updateBy;
  num? _createTime;
  num? _updateTime;
  String? _sysUserId;
  String? _name;
  num? _sex;
  String? _nation;
  String? _birthday;
  String? _idAddress;
  String? _idcard;
  String? _idAuthority;
  String? _idValidDate;
  String? _idcardPicFront;
  String? _idcardPicBack;
  num? _status;
  num? _liveDetectionStatus;
  dynamic _liveDetectionTime;
UserIdentity copyWith({  String? id,
  num? isDel,
  String? createBy,
  dynamic updateBy,
  num? createTime,
  num? updateTime,
  String? sysUserId,
  String? name,
  num? sex,
  String? nation,
  String? birthday,
  String? idAddress,
  String? idcard,
  String? idAuthority,
  String? idValidDate,
  String? idcardPicFront,
  String? idcardPicBack,
  num? status,
  num? liveDetectionStatus,
  dynamic liveDetectionTime,
}) => UserIdentity(  id: id ?? _id,
  isDel: isDel ?? _isDel,
  createBy: createBy ?? _createBy,
  updateBy: updateBy ?? _updateBy,
  createTime: createTime ?? _createTime,
  updateTime: updateTime ?? _updateTime,
  sysUserId: sysUserId ?? _sysUserId,
  name: name ?? _name,
  sex: sex ?? _sex,
  nation: nation ?? _nation,
  birthday: birthday ?? _birthday,
  idAddress: idAddress ?? _idAddress,
  idcard: idcard ?? _idcard,
  idAuthority: idAuthority ?? _idAuthority,
  idValidDate: idValidDate ?? _idValidDate,
  idcardPicFront: idcardPicFront ?? _idcardPicFront,
  idcardPicBack: idcardPicBack ?? _idcardPicBack,
  status: status ?? _status,
  liveDetectionStatus: liveDetectionStatus ?? _liveDetectionStatus,
  liveDetectionTime: liveDetectionTime ?? _liveDetectionTime,
);
  String? get id => _id;
  num? get isDel => _isDel;
  String? get createBy => _createBy;
  dynamic get updateBy => _updateBy;
  num? get createTime => _createTime;
  num? get updateTime => _updateTime;
  String? get sysUserId => _sysUserId;
  String? get name => _name;
  num? get sex => _sex;
  String? get nation => _nation;
  String? get birthday => _birthday;
  String? get idAddress => _idAddress;
  String? get idcard => _idcard;
  String? get idAuthority => _idAuthority;
  String? get idValidDate => _idValidDate;
  String? get idcardPicFront => _idcardPicFront;
  String? get idcardPicBack => _idcardPicBack;
  num? get status => _status;
  num? get liveDetectionStatus => _liveDetectionStatus;
  dynamic get liveDetectionTime => _liveDetectionTime;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['isDel'] = _isDel;
    map['createBy'] = _createBy;
    map['updateBy'] = _updateBy;
    map['createTime'] = _createTime;
    map['updateTime'] = _updateTime;
    map['sysUserId'] = _sysUserId;
    map['name'] = _name;
    map['sex'] = _sex;
    map['nation'] = _nation;
    map['birthday'] = _birthday;
    map['idAddress'] = _idAddress;
    map['idcard'] = _idcard;
    map['idAuthority'] = _idAuthority;
    map['idValidDate'] = _idValidDate;
    map['idcardPicFront'] = _idcardPicFront;
    map['idcardPicBack'] = _idcardPicBack;
    map['status'] = _status;
    map['liveDetectionStatus'] = _liveDetectionStatus;
    map['liveDetectionTime'] = _liveDetectionTime;
    return map;
  }

}